﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BSChuangXu.Domain.User
{
    /// <summary>
    /// 菜单信息
    /// </summary>
    [Table("MenuModel")]
    public class MenuModel : UpdateModel
    {
        /// <summary>
        /// 菜单id
        /// </summary>
        [Key]
        public int MenuId { get; set; }
        /// <summary>
        /// 菜单名称
        /// </summary>
        public string? MenuName { get; set; }
        /// <summary>
        /// 点击菜单跳转地址
        /// </summary>
        public string? Url { get; set; }
        /// <summary>
        /// 父级id   顶级菜单是0
        /// </summary>
        public int ParentId { get; set; }
        /// <summary>
        /// 排序字段 编号
        /// </summary>
        public int? OrderNum { get; set; }
    }
}
